﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Randata.Test.Model;

namespace Randata.Test
{
    [TestClass]
    public class InheritanceTest
    {

        [TestMethod]
        public void Should_generate_base_class_data()
        {
            Child c = DataProvider.Any<Child>();

            Assert.IsFalse(String.IsNullOrEmpty(c.Name), "Should fill the base properties.");

            Assert.AreNotEqual(0, c.Age, "Should fill the base properties.");
        }

    }
}
